package com.cci.kangdao.escalation.dao;

import com.cci.kangdao.escalation.model.EscalationChannelReasonConfigT;
import org.apache.ibatis.annotations.Param;

public interface EscalationChannelReasonConfigTDao {
    int deleteByPrimaryKey(Long id);

    int insert(EscalationChannelReasonConfigT record);

    int insertSelective(EscalationChannelReasonConfigT record);

    EscalationChannelReasonConfigT selectByPrimaryKey(Long id);

    EscalationChannelReasonConfigT selectByCondition(@Param("escalationChannelId") Long escalationChannelId,@Param("roleNo") String roleNo,@Param("escalationType") Integer escalationType);

    int updateByPrimaryKeySelective(EscalationChannelReasonConfigT record);

    int updateByPrimaryKey(EscalationChannelReasonConfigT record);
}